package cn.com.charles.flink.drools.domain;

import java.io.Serializable;
import java.util.Date;

// 警告实体
public class AlarmObj implements Serializable {
	private static final long serialVersionUID = -4195411772451553986L;
	private String alarmId;
	private Date eventTime;
	private String relatedType;

	public String getAlarmId() {
		return alarmId;
	}

	public void setAlarmId(String alarmId) {
		this.alarmId = alarmId;
	}

	public Date getEventTime() {
		return eventTime;
	}

	public void setEventTime(Date eventTime) {
		this.eventTime = eventTime;
	}

	public String getRelatedType() {
		return relatedType;
	}

	public void setRelatedType(String relatedType) {
		this.relatedType = relatedType;
	}

	@Override
	public String toString() {
		return "Alarm{" + "alarmId='" + alarmId + '\'' + ", eventTime=" + eventTime + ", relatedType='" + relatedType
				+ '\'' + '}';
	}
}